package routes

import (
	"github.com/kataras/iris"
	"github.com/kataras/iris/hero"
)

func RegisterUserRoutes (app *iris.Application) {
	userRouter := app.Party("/user")
	
	userRouter.Get("/", hero.Handler(Users))
	userRouter.Get("/{id:long}", hero.Handler(GetUserById))
}